<!--
 * @Author: your name
 * @Date: 2020-12-17 16:04:52
 * @LastEditTime: 2020-12-18 15:41:49
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jQueryd:\vue\12-17\轮播封装.html
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>
    <div id="box" v-cloak>
      <no1 class="no1" :boxarr="arr"></no1>
      <no1 class="no1" :boxarr="arr2"></no1>
    </div>
  </body>
</html>
<script src="../vue.js"></script>
<script src="./js/index.js"></script>
<script>
  new Vue({
    el: "#box",
    data: {
      arr: [
        "https://p3.ssl.qhimgs1.com/bdr/326__/t01e460111e459f351d.jpg",
        "https://p0.ssl.qhimgs1.com/bdr/326__/t01e86ce6da26b00d3e.jpg",
        "https://p2.ssl.qhimgs1.com/bdr/326__/t0140937ae70bdc9e62.jpg",
        "https://p2.ssl.qhimgs1.com/bdr/326__/t018277eac3966c27b8.jpg",
      ],
      arr2: [
        "https://p3.ssl.qhimgs1.com/bdr/326__/t015cd68bd9f18d04b3.jpg",
        "https://p1.ssl.qhimgs1.com/bdr/326__/t01665138a1b99cbb31.jpg",
        "https://p5.ssl.qhimgs1.com/bdr/326__/t01d05c84e1e3c41cdf.jpg",
        "https://p0.ssl.qhimgs1.com/bdr/326__/t01269c74f6d945951e.jpg",
      ],
    },
  });
</script>
